package com.yiren.manager.form.department;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrCaregiverGradeForm extends GenericForm{
	
	private static final long serialVersionUID = 1515330780175440516L;

	private String caregiverGradeId;

	private String caregiverId;

	private String caregiverName;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private Float grade;

	private String subjectRoomId;

	private String subjectRoomName;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	public String getCaregiverGradeId() {
		return caregiverGradeId;
	}

	public void setCaregiverGradeId(String caregiverGradeId) {
		this.caregiverGradeId = caregiverGradeId;
	}

	public String getCaregiverId() {
		return caregiverId;
	}

	public void setCaregiverId(String caregiverId) {
		this.caregiverId = caregiverId;
	}

	public String getCaregiverName() {
		return caregiverName;
	}

	public void setCaregiverName(String caregiverName) {
		this.caregiverName = caregiverName;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Float getGrade() {
		return grade;
	}

	public void setGrade(Float grade) {
		this.grade = grade;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public String getSubjectRoomName() {
		return subjectRoomName;
	}

	public void setSubjectRoomName(String subjectRoomName) {
		this.subjectRoomName = subjectRoomName;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
